﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebPic.Sample.Comum;
using WebPic.Sample.Modelo.Entidades;

namespace WebPic.Sample.Modelo.Specifications
{
    public static class TransportadoraSpecification 
    {
        public static TransportadoraSpecification<Transportadora> NomeComecaCom(string nome)
        {
            return new Specification<Transportadora>(t => t.Nome.StartsWith(nome));
        }
    }
}
